package com.wiscamp.ninechapters.problems.domain.models.reports;

import cube.ddd.domain.Entity;
import lombok.Data;
import lombok.EqualsAndHashCode;

@Data
@EqualsAndHashCode
public class ReportAnswer implements Entity {

    /**
     * 正确答案序号
     */
    private int answerIndex = 0;

    private long correctAnswerId = 0;

    private String correctAnswerTypeName = "";

    /**
     * 正确答案
     */
    private String correctAnswer = "";

    private String userAnswerTypeName = "";

    /**
     * 用户答案
     */
    private String userAnswer = "";

    /**
     * 是否正确
     */
    private boolean isCorrect = false;

    /**
     * 是否跳过解答
     */
    private boolean isSkipped = false;

    /**
     * 答案得分
     */
    private double answerGainScore = 0;
}
